package com.ylr.basic.common.vo.ephemeral_data;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-07-07 14:24:37
 * className: EphemeralDataVo
 * version: 1.0
 * description:
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class EphemeralDataVo {

    /**
     * 业务主键
     */
    @NotNull(message = "业务主键不能为空")
    private Long businessId;

    /**
     * 业务类型
     */
    @NotNull(message = "业务类型不能为空")
    private Integer businessType;

    /**
     * 业务数据
     */
    @NotBlank(message = "业务类型不能为空")
    private String businessValue;

}
